'use strict';
module.exports = app => {
  const { router, controller } = app;
  router.get('/api/movies/:m', controller.movies.list.index);
  router.get('/api/moviesDetail', controller.movies.detail.index);
  router.get('/api/moviesSearch', controller.movies.search.index);
  router.post('/api/movies/collect', controller.movies.collect.index);
};
